
#ifndef __HTTP_CMD_BASE_H
#define __HTTP_CMD_BASE_H

#include <string>
#include <stdio.h>
// #include "../3rd/CJson/CJsonObject.hpp"
#include "CJsonObject.hpp"

class CHttpCmdBase
{
public:
    bool HttpCmdHandlerFunc(const std::string &strReqMessage, std::string &strRspData);

private:
    virtual bool CheckParamVaild(const std::string &strReqMessage);

    virtual bool FillRspData(std::string &strRspData);

    virtual void ClearCmdLocalData();
};



#endif